<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0061) -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <title>游侠传运营平台</title>
        <link rel="stylesheet" href="/static/index_files/style.css" type="text/css" media="all">
        <link rel="stylesheet" href="/static/css/jquery-ui.css" type="text/css" media="all">
        <script src="/static/js/jquery.min.js" type="text/javascript"></script>
        <script src="/static/js/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
        <script>
        </script>

    </head>
    <body>
        <div align="center">
        </div>
        <!-- Header -->
        <div id="header">
            <div class="shell">
                <!-- Logo + Top Nav -->
                <div id="top">
                    <h1><a href="#">游侠传运营平台</a></h1>
                    <div id="top-navigation">
                        Welcome <a href="#"><strong>Administrator</strong></a>
                        <span>|</span>
                        <a href="#">Help</a>
                        <span>|</span>
                        <a href="#">Profile Settings</a>
                        <span>|</span>
                        <a href="#">Log out</a>
                    </div>
                </div>
                <!-- End Logo + Top Nav -->

                <!-- Main Nav -->
                <div id="navigation">
                    <ul>
                        <li><a href="#" class="active"><span>官网</span></a></li>
                        <li><a href="#"><span>下载平台</span></a></li>
                        <li><a href="/index.login"><span>作弊系统</span></a></li>
                        <li><a href="/index.chart"><span>报表系统</span></a></li>
                        <li><a href="#"><span>后台管理</span></a></li>
                        <li><a href="/store.upload"><span>发布平台</span></a></li>
                    </ul>
                </div>
                <!-- End Main Nav -->
            </div>
        </div>
        <!-- End Header -->
        <!-- Container -->
        <div id="container">
            <div class="shell">

                <!-- Small Nav -->
                <div class="small-nav">
                    <a href="#">官网</a>
                    <span> &gt; </span>
                    <a href="/index.login">发布平台</a>
                </div>
                <!-- End Small Nav -->
                <!-- Main -->
                <div id="main">
                    <div class="cl">&nbsp;</div>

                    <!-- Content -->
                    <div id="content">

                        <!-- Box -->
                        <div class="box">
                            <!-- Box Head -->
                            <div class="box-head">
                                <h2 class="left">发布资源</h2>
                                <div class="right">
                                </div>
                            </div>
                            <!-- End Box Head -->

                            <!-- Table -->
                            <form action="/store.upload" method="post" enctype="multipart/form-data" onsubmit="return validate()">
                                <!-- 上传文件-->
                                <div class="table">
                                    <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0" summary="upload pictures">
                                        <tr>
                                            <td align="center" colspan="2">说明：版本号格式ver1.ver2.ver3;<br/>
                                                客户端判断：如果ver1变化则需要重装，ver2变化需要更新资源，只是ver3变化不需要更新</td>
                                        </tr>
                                        <tr>
                                            <td width="30%" align="right" class="title"> 已有资源： </td>
                                            <td>
                                                <a target="_blank" href="$root_url">$root_url</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="30%" align="right" class="title"> 新增类型：
                                            </td>
                                            <td>
                                                <select id="updatetype" name="updatetype">
                                                    <option value="ver1">ver1</option>
                                                    <option value="ver2" selected>ver2</option>
                                                    <option value="ver3">ver3</option>
                                                </select>
                                                (选择版本段，上传成功后会自动为这个段+1)
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="30%" align="right" class="title"> 平台名称： </td>
                                            <td>
                                                <select id="platform" name="platform">
                                                    <option value="android">android</option>
                                                    <option value="ios">ios</option>
                                                </select>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <input name="submit" type="submit" value="发布版本" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </form>
                            <!-- Table -->

                        </div>
                        <!-- End Box -->

                    </div>
                    <!-- End Content -->

                    <div class="cl">&nbsp;</div>
                </div>
                <!-- Main -->

            </div>
        </div>
        <!-- End Container -->

        <!-- Footer -->
        <div id="footer">
            <div class="shell">
                <span class="left">© 2014 - coolplay</span>
                <span class="right">

                </span>
            </div>
        </div>
        <!-- End Footer -->


</body></html>
<script src="/static/myjs/upload.js" type="text/javascript">
<script type="text/javascript">
	function imgChange(next,cur) {
        var filename = cur.value;
        var strtype = filename.substring(filename.length-4,filename.length);
        if (strtype != ".zip") {
            alert("妈蛋！都说了要.zip文件");
            return false;
        }
        if (next != null) {
			document.getElementById(next).style.display = "";
        }
        return true;
	}

	function validate() {
        var platform = document.getElementById("platform");
        if (platform.value == "") {
            alert("妈蛋，你填个平台名字会死啊");
            return false;
        }
	}
</script>
</script>


